package com.atguigu.gulimall.ware.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Package com.atguigu.gulimall.ware.feign
 * @author wzb
 * @date 2022-09-21 9:13
 * @version V1.0
 * @Copyright ©
 */
@FeignClient("gulimall-order")
public interface OrderFeignService {


    @GetMapping("/order/order/status/{orderSn}")
    R getOrderStatus(@PathVariable("orderSn") String orderSn);


}
